home *** CD-ROM | disk | FTP | other *** search
/ Enter 2001 November / EnterCD 11_2001.iso / Internet / CoffeCup HTML Editor 9_0 / CoffeeHTML90.exe / %MAINDIR% / Snippets / Style Sheets.snp < prev    next >
Encoding:
Text File  |  2001-09-13  |  1.1 KB  |  60 lines

  1. <!-- A style sheet example of how to control your
  2. pages by SETTING what things will do for the
  3. whole page all the time. This covers backgrounds
  4. for your whole page and certain areas you pick
  5. to be different. Use our example of Fonts
  6. also to enhance this look.If you want to use a
  7. picture as a background use this tag instead of 
  8. the one shown:
  9. BODY { background: url(yourpicture.gif) }
  10. -->
  11.  
  12. <HEAD>
  13. <TITLE>Your Title Here</TITLE>
  14.  
  15. <STYLE>
  16. <!--
  17.  
  18. BODY { background: #000000 }
  19.  
  20. P { background: #FF0000 }
  21.  
  22. H1 { background: #0000A0;
  23. color : #FFFFFF;
  24. font-weight: bold;
  25. font-size : 18pt;
  26. font-family : Arial}
  27.  
  28. H2 { background: #FFFF00;
  29. color : #000000;
  30. font-weight: bold;
  31. font-size : 30pt;
  32. font-family : Arial}
  33.  
  34. BODY { color : #FFFFFF;
  35. font-size : 16pt;
  36. font-family : Comic Sans MS}
  37.  
  38. H3 { background: #FFFFFF;
  39. color : #000000;
  40. font-weight: bold;
  41. font-size : 20pt;
  42. font-family : Arial}
  43.  
  44.  
  45. -->
  46. </STYLE>
  47. </HEAD>
  48. <BODY>
  49.  
  50. <CENTER>
  51. <H1>Cool</H1>
  52. <P>Colors & Fonts</P>
  53. <H2>...and neat Style Sheet stuff.</H2>
  54. ...and we really like it...
  55. <H3>Alot !</H3>
  56. </CENTER>
  57.  
  58.  
  59. </BODY>
  60.